<?php

namespace app\admin\model;

use app\common\constants\MenuConstant;
use app\common\model\TimeModel;
use think\db\exception\DataNotFoundException;
use think\db\exception\DbException;
use think\db\exception\ModelNotFoundException;

class InsuranceConfig extends TimeModel
{

    protected $type = [
        'settings' => 'json',
    ];

    public static $p_fields = [
        0 => 'carno',
        1 => 'insurer',
        2 => 'created_at',
        3 => 'cost_sy',
        4 => 'cost_jq',
        5 => 'cost_cc',
        6 => 'cost_jc',
        7 => 'start_at_sy',
        8 => 'end_at_sy',
        9 => 'end_at_jq',
        10 => 'end_at_jq',
        11 => 'agent',
    ];
    public static $p_titles = [
        0 => '车牌号',
        1 => '投保人',
        2 => '投保日期',
        3 => '商业险金额',
        4 => '交强险金额',
        5 => '车船税金额',
        6 => '驾乘险金额',
        7 => '商业险开始日期',
        8 => '商业险结束日期',
        9 => '交强险开始日期',
        10 => '交强险结束日期',
        11 => '代理人',
    ];
}